package com.wxapp.market.api.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wxapp.common.constant.base.IBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: lgl
 * @Description 优惠券用户绑定封装类
 * @Datetime 2022-06-02 09:10:45
 * @Modified By
 */
@Data
@Schema(description = "优惠券用户绑定")
@TableName("wxapp_coupon_user")
@AllArgsConstructor
public class CouponUserDO extends IBaseEntity implements Serializable {
    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户id
     */
    private String couponId;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;
}

